package com.pingan.glue.gluegame.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.pingan.glue.gluegame.entity.GameOrderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 游戏排名
 *
 */
@Mapper
public interface GameOrderDao extends BaseMapper<GameOrderEntity> {


    @Select("select count(1) from `game_order` where game_time < #{time}")
    Integer selectGameRankingLtTime(Long time);

}
